const tokenkey = 'touke-link'
const settoken = function (tokens) {
  localStorage.setItem(tokenkey, JSON.stringify(tokens))
}
const gettoken = function () {
  return JSON.parse(localStorage.getItem(tokenkey))
}
const removetoken = function () {
  localStorage.removeItem(tokenkey)
}
export { settoken, gettoken, removetoken }
